package com.ruoyi.vbze.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 大田信息对象 field
 * 
 * @author ruoyi
 * @date 2023-02-21
 */
public class Field extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 大田名称/编号 */
    @Excel(name = "大田名称/编号")
    private String name;

    /** 中心点经度 */
    @Excel(name = "中心点经度")
    private BigDecimal longitude;

    /** 中心点纬度 */
    @Excel(name = "中心点纬度")
    private BigDecimal latitude;

    /** 大田产量 */
    @Excel(name = "大田产量")
    private Long fieldYield;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String description;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setLongitude(BigDecimal longitude) 
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(BigDecimal latitude) 
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude() 
    {
        return latitude;
    }
    public void setFieldYield(Long fieldYield) 
    {
        this.fieldYield = fieldYield;
    }

    public Long getFieldYield() 
    {
        return fieldYield;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("fieldYield", getFieldYield())
            .append("description", getDescription())
            .toString();
    }
}
